package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 员工类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Emp {

    private int id;

    private String username;

    private String password;

    private String name;

    private int gender;

    private String phone;

    private Integer job;

    private Integer salary;

    private String image;

    private LocalDate entryDate;

    private Integer deptId;

    private List<Experience> experiences;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
